DrawComboBox(GcGraphics,RectangleF,IList<ChoiceFieldItem>,Int32,Font,Single,Color,Color,Border,Boolean) Method
In This Topic
Draws a combo box.
Syntax
'Declaration
Public Overloads Shared Sub DrawComboBox( _
ByVal As GcGraphics, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Collections.Generic.IList(Of ChoiceFieldItem), _
ByVal As System.Integer, _
ByVal As Font, _
ByVal As System.Single, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As Border, _
ByVal As System.Boolean _
)
public static void DrawComboBox(
GcGraphics ,
System.Drawing.RectangleF ,
System.Collections.Generic.IList<ChoiceFieldItem> ,
System.int ,
Font ,
System.float ,
System.Drawing.Color ,
System.Drawing.Color ,
Border ,
System.bool
)
Parameters
- g
- The graphics to draw on.
- bounds
- The control bounds.
- items
- The control items.
- selectedIndex
- The index of an item in the text of which to draw.
- font
- The font.
- fontSize
- The font size.
- foreColor
- The fore color.
- backColor
- The background color.
- border
- The border definition.
- required
- Indicates whether to draw the border in red, ignoring the color specified in .
See Also